local QI = DailyIntake.QuestItems
local Localize = DailyIntake.Localize

-- Add item: Place holder item for macro;
QI.RegisterQuestItem(-29325, QI.Priority.Normal, function()
	-- A Slippery Snack; http://www.wowhead.com/quest=29325
	local isUsable =
		GetZoneText() == "Teldrassil" and
		(GetSubZoneText() == "Rut'theran Village" or GetSubZoneText() == "The Veiled Sea")and
		not QI.QuestIsDoneOrNotTaken(29325)

	local macroText =
[[/run DailyIntake.QuestItems.DisableMacroRefresh()
/targetexact [nodead] Baby Octopus
/cleartarget [@target, dead]
/script if not GetRaidTargetIndex("target") then SetRaidTarget("target",1) end
/run DailyIntake.QuestItems.EnableMacroRefresh()]]

	return isUsable, macroText, 418
end)

-- Add item: Uncooked Ribs; http://www.wowhead.com/?item=69904
QI.RegisterQuestItem(69904, QI.Priority.Medium, function()
	-- Ribs for the Sentinels: http://www.wowhead.com/?quest=29318
	return
		(GetZoneText() == "Darnassus" or
		 GetZoneText() == "Teldrassil") and
		not QI.QuestIsDone(29318)
end)

-- Add item: Delicious Ribs; http://www.wowhead.com/?item=69906
QI.RegisterQuestItem(69906, QI.Priority.Low, function()
	-- Ribs for the Sentinels: http://www.wowhead.com/?quest=29318
	return
		(GetZoneText() == "Darnassus" or
		 GetZoneText() == "Teldrassil") and
		not QI.QuestIsDone(29318)
end)

-- Add item: Giant Catfish; http://www.wowhead.com/?item=69914
QI.RegisterQuestItem(69914, QI.Priority.High, function()
	-- The Sister's Pendant: http://www.wowhead.com/?quest=29324
	return
		(GetZoneText() == "Darnassus" or
		 GetZoneText() == "Teldrassil") and
		not QI.QuestIsDone(29324)
end)


